<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <title>修改部门</title>
  <link href="/static/css/bootstrap.min.css" rel="stylesheet"/>
  <link rel="stylesheet" href="/static/include/css/style.css">
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
  <form class="form-horizontal m" id="editForm" action="/admin/dept">
    <input name="deptId" type="hidden" field="deptId"/>
    <input id="treeId" name="parentId" type="hidden"  field="parentId" value="0"/>
    <input type="hidden" name="oper" id="oper" field="oper"/>
    <div class="form-group">
      <label class="col-sm-3 control-label">上级部门：</label>
      <div class="col-sm-8">
        <div class="input-group">
          <input class="form-control" type="text" onclick="selectDeptTree()" id="treeName" name="parentName" field="parentName" readonly>
          <span class="input-group-addon"><i class="fa fa-search"></i></span>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">部门名称：</label>
      <div class="col-sm-8">
        <input class="form-control" type="text" name="name" id="name" field="name" maxlength="50" required>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">部门编码：</label>
      <div class="col-sm-8">
        <input class="form-control" type="text" name="deptCode" id="deptCode" field="deptCode" maxlength="20" required>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">显示排序：</label>
      <div class="col-sm-8">
        <input class="form-control" type="text" name="sort" field="sort" maxlength="3" required>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">备注：</label>
      <div class="col-sm-8">
        <textarea name="remark" maxlength="250" class="form-control" field="remark" rows="3"></textarea>
      </div>
    </div>
  </form>
</div>
<script src="/static/include/js/footer.js"></script>
<script src="/static/pages/sysadm/dept/deptEdit.js"></script>
</body>
</html>
